package com.enterprise.projectManager.service;

import com.enterprise.projectManager.model.Appendix;
import com.enterprise.projectManager.model.Project;
import com.enterprise.projectManager.service.implemention.AppendixImpl;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface AppendixService {
    String uploadToLocal(List<MultipartFile> files, String projectId);
    Appendix save(Appendix appendix);
    List<Resource> getDownloadUrl(String projectId);
    List<String> getDownloadPath(String projectId);
    List<Appendix> getProjectFileList(String projectId);
}
